package p270jp.pxv.android.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import androidx.databinding.DataBindingUtil;
import p014ae.View$OnClickListenerC0151s;
import p014ae.View$OnClickListenerC0158t;
import p270jp.pxv.android.R;
import p314lg.ViewSearchWordBinding;

/* renamed from: jp.pxv.android.view.SearchWordView */
/* loaded from: classes2.dex */
public class SearchWordView extends LinearLayout {

    /* renamed from: a */
    public SearchWordViewListener f19680a;

    /* renamed from: b */
    public ViewSearchWordBinding f19681b;

    /* renamed from: jp.pxv.android.view.SearchWordView$SearchWordViewListener */
    /* loaded from: classes2.dex */
    public interface SearchWordViewListener {
        void onClickSearchWordContainer();

        void onClickSearchWordDeleteImageView();
    }

    public SearchWordView(Context context) {
        super(context, null);
        ViewSearchWordBinding jbVar = (ViewSearchWordBinding) DataBindingUtil.m11370c(LayoutInflater.from(getContext()), R.layout.view_search_word, this, true);
        this.f19681b = jbVar;
        jbVar.f21797q.setOnClickListener(new View$OnClickListenerC0158t(this, 28));
        this.f19681b.f21798r.setOnClickListener(new View$OnClickListenerC0151s(this, 23));
    }

    public void setSearchWord(String str) {
        this.f19681b.f21799s.setText(str);
    }

    public void setSearchWordViewListener(SearchWordViewListener searchWordViewListener) {
        this.f19680a = searchWordViewListener;
    }
}
